package com.ch.home.service.serviceInterface.restDishService;

import com.ch.home.bean.DishRecipes;

import java.util.HashMap;

/**
 * Created by CHEN on 2019/8/28.
 */
public interface DishRecipesService {

    /**
     * 拿到预览信息
     * @param dishRecipes
     * @return
     */
    HashMap getPreview(DishRecipes dishRecipes);

    /**
     * 拿到全部信息
     * @param dishRecipes
     * @return
     */
    HashMap getAll(DishRecipes dishRecipes);

    /**
     * 添加菜品基本信息，如有必要，添加资源文件url
     * @param dishRecipes
     * @return
     */
    HashMap add(DishRecipes dishRecipes);

    /**
     * 更新菜品基本信息，如有必要，添加资源文件url
     * @param dishRecipes
     * @return
     */
    HashMap update(DishRecipes dishRecipes);



}
